package com.muyu.danmo.domain;

import com.muyu.common.core.annotation.Excel;
import com.muyu.common.core.web.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;

/**
 * 个人信息新对象 danmo_information_copy1
 *
 * @author yangle
 * @date 2024-12-10
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DanmoInformationCopy1 extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 个人信息id
     */
    private Long id;

    /**
     * 用户ID
     */
    @Excel(name = "用户ID")
    private Long userId;

    /**
     * 姓名
     */
    @Excel(name = "姓名")
    private String name;

    /**
     * 协会选择
     */
    @Excel(name = "协会选择")
    private Long association;

    /**
     * 艺术家类型
     */
    @Excel(name = "艺术家类型")
    private Long associationType;

    /**
     * 证书
     */
    @Excel(name = "证书")
    private String certificate;

    /**
     * 证书编号
     */
    @Excel(name = "证书编号")
    private String certificateNumber;

    /**
     * 第几届
     */
    @Excel(name = "第几届")
    private Long several;

    /**
     * 状态
     */
    @Excel(name = "状态（0 添加草稿 1 未审核 2 审核中 3 已审核）")
    private Long condition;

    /**
     * 年份
     */
    @Excel(name = "年份")
    private String year;

    /**
     * 入会省
     */
    @Excel(name = "入会省")
    private String addressEntry;

    /**
     * 入会市
     */
    @Excel(name = "入会市")
    private String addressCity;

    /**
     * 入会县
     */
    @Excel(name = "入会县")
    private String addressCounty;

    /**
     * 职位（1 会员 2 理事 ）
     */
    @Excel(name = "职位", readConverterExp = "1会员,2理事")
    private Long positions;

    /**
     * 朝代
     */
    @Excel(name = "朝代")
    private Long dynastiesId;

    /**
     * 小团体
     */
    @Excel(name = "小团体")
    private Long massId;

    /**
     * 身份证正面
     */
    @Excel(name = "身份证正面")
    private String idFront;

    /**
     * 身份证反面
     */
    @Excel(name = "身份证反面")
    private String idReverse;
    /**
     * 基本信息
     */
    @Excel(name = "基本信息")
    private Long basicId;
    /**
     * 身份证号码
     */
    @Excel(name = "身份证号码")
    private String idCard;
    /**
     * 认证（0 未认证 1已认证）
     */
    @Excel(name = "认证（0 未认证 1已认证）")
    private Long realName;

    /**
     * 官网
     */
    private Long websiteId;

    /**
     * 个人作品
     */
    private List<DanmoPersonalPictures> danmoPersonalPicturesList;

    /**
     * 个人简介
     */
    private DanmoInformationBar danmoInformationBar;
    /**
     * 个人头像集
     */
    private List<DanmoInformationPhotos> danmoInformationPhotosList;
    /**
     * 拾贝
     */
    private List<DanmoCollectShellfish> danmoCollectShellfishList;

    /**
     * 个人信息相关星图标题
     */
    private List<DanmoInformationMapTitle> danmoInformationMapTitleList;

    /**
     * 职位名称
     */
    private String positionName;


    /**
     * 职位排序
     */
    private Long positionSort;

    /**
     * 职位id
     */
    private Long positionId;


    /**
     * 朝代名称
     */
    private String dynastiesName;

    /**
     * ‘段位’
     */
    private String grade;

    /**
     * '个人简介'
     */
    private List<DanmoInformationContent> danmoInformationContentList;


    /**
     * 小团体名称
     */
    private String massName;

    /**
     * 是否是本人
     */
    private String isShow;

    /**
     * 是否关注
     */
    private String isFollow;







    private List<DanmoInformationFlagship> danmoInformationFlagshipList;

    private List<DanmoInformationVideo> danmoInformationVideoList;

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("userId", getUserId())
                .append("name", getName())
                .append("association", getAssociation())
                .append("associationType", getAssociationType())
                .append("certificate", getCertificate())
                .append("certificateNumber", getCertificateNumber())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .append("several", getSeveral())
                .append("condition", getCondition())
                .append("year", getYear())
                .append("addressEntry", getAddressEntry())
                .append("addressCity", getAddressCity())
                .append("addressCounty", getAddressCounty())
                .append("positions", getPositions())
                .append("dynastiesId", getDynastiesId())
                .append("massId", getMassId())
                .append("idFront", getIdFront())
                .append("idReverse", getIdReverse())
                .append("basicId", getBasicId())
                .append("idCard", getIdCard())
                .append("realName", getRealName())
                .toString();
    }
}
